//
//  NSObject+Notification.h
//  OralRobot
//
//  Created by 王桂敏 on 16/5/6.
//  Copyright © 2016年 wangguimin. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSObject (Notification)

- (void)addObserver:(nullable id)observer selector:(nullable SEL)aSelector name:(nullable NSString *)aName object:(nullable id)anObject;

- (void)postNotificationName:(nullable NSString *)aName object:(nullable id)anObject;
- (void)postNotificationName:(nullable NSString *)aName object:(nullable id)anObject userInfo:(nullable NSDictionary *)aUserInfo;

- (void)removeObserver:(nullable id)observer;
- (void)removeObserver:(nullable id)observer name:(nullable NSString *)aName object:(nullable id)anObject;


@end
